package com.sugou.dao.enums;

/**
 * 查询结果类型
 * 
 * @version 1.0 
 * @author Hunk.Tong &copy; Ustudy 游学网络
 * <b>Create Time:</b>2013-5-10 下午3:27:58
 */
public enum ResultType {
	UPDATE("更新"),SEARCH("查询"),ERROR("错误");
	private String label;
	private ResultType(String label){
		this.label=label;
	}
	public String getLabel() {
		return label;
	}
	
	public int getId(){
		return this.ordinal();
	}
	
	public String getName(){
		return this.name();
	}
}
